package com.woniuxy.ssm.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author linke
 * @version 1.0
 * @className: AdminBean
 * @description: 管理员实体
 * @date 2021/11/15 0:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminBean {

    private Long id;
    private String adminName;
    private String loginName;
    private String password;
    private String telphone;
    private Date createTime;
    /**
     * 0 -启用
     * 1 - 禁用
     */
    private Integer status;
    /**
     * 每个人拥有一个部门
     */
    private DeptBean deptBean;
    /**
     * 每个人拥有一个角色
     */
    private RoleBean roleBean;
}
